/*
 * @Description: 基础设置静态配置,模拟数据
 * @version: 电子名片2.0
 * @Author: 付小清
 * @Date: 2020-11-27 11:15:03
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-06-03 13:55:41
 */

export const reportDynamicClumen = [
  { prop: 'settingsId', label: '动态举报编号' },
  { prop: 'settingsName', label: '举报项名称' },
  { prop: 'modifierName', label: '修改人' },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const reportChatClumen = [
  { prop: 'settingsId', label: '聊天举报编号' },
  { prop: 'settingsName', label: '举报项名称' },
  { prop: 'modifierName', label: '修改人' },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const reportCartClumen = [
  { prop: 'settingsId', label: '名片举报编号' },
  { prop: 'settingsName', label: '举报项名称' },
  { prop: 'modifierName', label: '修改人' },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]
export const SensitiveWorldClumen = [
  { prop: 'id', label: '敏感词编号' },
  { prop: 'sensitiveWord', label: '敏感词' },
  { prop: 'modifierName', label: '修改人', isTemplate: true },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const RegionClumen = [
  { prop: 'areaCode', label: '区域编码' },
  { prop: 'areaName', label: '区域名称' },
  { prop: 'sort', label: '排序' },
  { prop: 'areaLevel', label: '级别' },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const PositionClumen = [
  { prop: 'positionId', label: '职位编号' },
  { prop: 'positionName', label: '职位名称' },
  { prop: 'modifierName', label: '修改人', isTemplate: true },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const BusinessTagClumen = [
  { prop: 'tagId', label: '标签编号' },
  { prop: 'tagName', label: '标签名称' },
  { prop: 'tagOrder', label: '排序' },
  { prop: 'tagLevel', label: '级别' },
  { prop: 'modifierName', label: '修改人', isTemplate: true },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const BusinessClumen = [
  { prop: 'industryId', label: '行业编号' },
  { prop: 'industryName', label: '行业名称' },
  { prop: 'sortOrder', label: '排序' },
  { prop: 'levelType', label: '级别' },
  { prop: 'modifierName', label: '修改人', isTemplate: true },
  { prop: 'gmtModified', label: '修改时间' },
  { prop: 'operate', label: '操作', isTemplate: true }
]

export const smsListConfig = [
  { prop: 'id', label: '主键id' },
  { prop: 'introduce', label: '介绍' },
  { prop: 'product', label: '产品名称' },
  { prop: 'projectKey', label: '项目key' },
  { prop: 'readTimeout', label: '读超时时间' },
  { prop: 'signName', label: '短信签名' },
  { prop: 'templateCode', label: '短信模板' },
  { prop: 'accessKeyId', label: '访问id' },
  { prop: 'accessKeySecret', label: '访问秘钥' },
  { prop: 'codeLength', label: '验证码长度' },
  { prop: 'connectTimeout', label: '连接超时时间' },
  { prop: 'domain', label: '产品域名' },
  { prop: 'expireMinute', label: '有效时间' },
  { prop: 'gmtCreate', label: '创建时间' },
  { prop: 'gmtModified', label: '修改时间' },
  // { prop: 'operatorId', label: '创建人id' },
  { prop: 'operatorName', label: '创建人' },
  // { prop: 'modifierId', label: '修改人id' },
  { prop: 'modifierName', label: '修改人' }
]

export const tableList = [
  { id: '001', createUser: '休清', source: '男', createTime: 20, replyTime: 20, replyUser: 'sdf', replyContent: '撒打发斯蒂芬三', status: 0 },
  { id: '002', createUser: '表格', source: '女', createTime: 15, replyTime: 15, replyUser: 'bgc', replyContent: '合格考返给进', status: 1 }
]

export const treeData = [{
  displayTitle: '一级 1',
  children: [{
    displayTitle: '二级 1-1',
    children: [{
      displayTitle: '三级 1-1-1'
    }]
  }]
}, {
  displayTitle: '一级 2',
  children: [{
    displayTitle: '二级 2-1',
    children: [{
      displayTitle: '三级 2-1-1'
    }]
  }, {
    displayTitle: '二级 2-2',
    children: [{
      displayTitle: '三级 2-2-1'
    }]
  }]
}, {
  displayTitle: '一级 3',
  children: [{
    displayTitle: '二级 3-1',
    children: [{
      displayTitle: '三级 3-1-1'
    }]
  }, {
    displayTitle: '二级 3-2',
    children: [{
      displayTitle: '三级 3-2-1'
    }]
  }]
}]

export const options = [{
  value: 'zhinan',
  label: '指南',
  children: [{
    value: 'shejiyuanze',
    label: '设计原则'
  }, {
    value: 'daohang',
    label: '导航',
    children: [{
      value: 'cexiangdaohang',
      label: '侧向导航'
    }, {
      value: 'dingbudaohang',
      label: '顶部导航'
    }]
  }]
},
{
  value: 'daohang',
  label: '导航',
  children: [{
    value: 'yizhi',
    label: '一致'
  }, {
    value: 'fankui',
    label: '反馈'
  }, {
    value: 'xiaolv',
    label: '效率'
  }, {
    value: 'kekong',
    label: '可控'
  }]
}]

export const formList = {
  // 附近的人
  NEIGHBORHOOD_SETTINGS: [
    {
      key: 'NEIGHBORHOOD_SETTINGS1',
      label: '个人默认搜索范围',
      tips: '单位：公里，初始值：20'
    },
    {
      key: 'NEIGHBORHOOD_SETTINGS2',
      label: '个人扩大搜索范围',
      tips: '默认搜索人数不足10人时，单位：公里，初始值：100',
      isDefaultUpstep: true
    },
    {
      key: 'NEIGHBORHOOD_SETTINGS3',
      label: '组织默认搜索范围',
      tips: '单位：公里，初始值：20'
    },
    {
      key: 'NEIGHBORHOOD_SETTINGS4',
      label: '组织扩大搜索范围',
      tips: '默认搜索组织不足5家时，单位：公里，初始值：100'
    },
    {
      key: 'NEIGHBORHOOD_SETTINGS5',
      label: '交换空间显示范围',
      tips: '单位：米，初始值：300'
    }
  ],
  // 临时聊天
  TEMPORARY_CHAT_SETTINGS: [
    {
      key: 'TEMPORARY_CHAT_SETTINGS',
      label: '临时聊天时限',
      tips: '通过企业名片发起聊天企业方用户主动聊天时限，单位：小时，初始值：72'
    }
  ],
  // 冻结禁用
  DISABLE_FROZEN_SETTINGS: [
    {
      key: 'FROZEN_SET1',
      label: '个人冻结时限',
      tips: '单位：天，初始值：60'
    },
    {
      key: 'FROZEN_SET2',
      label: '群聊冻结时限',
      tips: '单位：天，初始值：60'
    },
    {
      key: 'FROZEN_SET3',
      label: '组织冻结时限',
      tips: '单位：天，初始值：15'
    },
    {
      key: 'DISABLE_SETTINGS1',
      label: '个人禁用',
      tips: '冻结多次后，该用户禁用，将不能登录，初始值：3'
    },
    {
      key: 'DISABLE_SETTINGS2',
      label: '组织禁用',
      tips: '冻结多次后，该组织禁用，将不能登录，初始值：3'
    }
  ],
  // 幻灯片设置
  SLIDE_SETUP: [
    {
      key: 'SLIDE_SETUP1',
      label: '幻灯片数量',
      tips: '单位：张，初始值：5'
    },
    {
      key: 'SLIDE_SETUP2',
      label: '轮播时间间隔',
      tips: '单位：秒，初始值：5'
    }
  ],

  //   话题设置
  TOPIC_SET: [
    {
      key: 'FOCUS_TOPIC_SETTING1',
      label: '焦点话题数量',
      tips: '单位：张，初始值：5'
    },
    {
      key: 'FOCUS_TOPIC_SETTING2',
      label: '轮播时间间隔',
      tips: '单位：秒，初始值：5'
    },
    {
      key: 'LATEST_TOPIC_SETTINGS',
      label: '最新话题数量',
      tips: '单位：个，初始值：10'
    }
  ],
  // 热门设置
  TOPIC_HOT_SET: [
    {
      key: 'HOT_CITY',
      label: '热门城市数量',
      tips: '单位：个，初始值：4'
    },
    {
      key: 'TOP_STORIES',
      label: '热门动态数量',
      tips: '单位：个，初始值：10'
    },
    {
      key: 'HOT_DYNAMIC_STATISTICS_CYCLE',
      label: '热门动态统计周期',
      tips: '单位：小时，初始值：24'
    },
    {
      key: 'HOT_TOPIC',
      label: '热门话题数量',
      tips: '单位：个，初始值：10'
    },
    {
      key: 'HOT_TOPICS_STATISTICS',
      label: '热门话题统计周期',
      tips: '单位：小时，初始值：24'
    },
    {
      key: 'TOP_SEARCH',
      label: '热门搜索数量',
      tips: '单位：个，初始值：10'
    },
    {
      key: 'TOP_SEARCH_STATISTICS',
      label: '热门搜索统计周期',
      tips: '单位：小时，初始值：24'
    }
  ]
}

export const smsConfigRules = {
  accessKeyId: [
    { required: true, message: '请输入访问id', trigger: 'blur' }
  ],
  accessKeySecret: [
    { required: true, message: '请输入访问秘钥', trigger: 'blur' }
  ],
  codeLength: [
    { required: true, message: '请输入验证码长度', trigger: 'blur' }
  ],
  connectTimeout: [
    { required: true, message: '请输入连接超时时间', trigger: 'blur' }
  ],
  domain: [
    { required: true, message: '请输入产品域名', trigger: 'blur' }
  ],
  expireMinute: [
    { required: true, message: '请输入有效时间', trigger: 'blur' }
  ],
  introduce: [
    { required: true, message: '请输入介绍', trigger: 'blur' }
  ],
  product: [
    { required: true, message: '请输入产品名称', trigger: 'blur' }
  ],
  projectKey: [
    { required: true, message: '请输入项目key', trigger: 'blur' }
  ],
  readTimeout: [
    { required: true, message: '请输入读超时时间', trigger: 'blur' }
  ],
  signName: [
    { required: true, message: '请输入短信签名', trigger: 'blur' }
  ],
  templateCode: [
    { required: true, message: '请输入短信模板', trigger: 'blur' }
  ]
}
